package com.miyu.common.service.system.bookRuleSet.impl;

import com.miyu.common.dao.commonDAO.book.BookRuleSetDao;
import com.miyu.common.pojo.book.BookRuleSet;
import com.miyu.common.service.system.bookRuleSet.BookRuleSetService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class BookRuleSetServiceImpl implements BookRuleSetService {

    @Resource
    private BookRuleSetDao ruleSetDao;
    @Override
    public List<BookRuleSet> findAll() {
        System.out.println(">>>>>>>>>>>");
        return ruleSetDao.findAll();
    }
}
